package com.jw.qme.domain.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("media_files")
public class MediaFile {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String fileName;

    private String fileType; // image, video, audio, text

    private Long fileSize;

    private String contentType;

    private LocalDateTime uploadTime;

    private String uploaderId;

    private String receiverId;

    private String status; // pending, delivered, read

    private Integer downloadCount;

    private String path;

    // 可选字段（根据需求添加）
    private String md5Hash;
}
